Skip to content

Conversation

@jwakely
Copy link
Member

@jwakely jwakely commented Oct 31, 2025

Within library wording we don't do ADL, only unqualified lookup (as per [contents] p3). This means that all the metafunctions in namespace std need to qualify names from namespace std::meta in order to find them.

This also fixes the bug that name lookup in the Effects: of define_static_array would find std::extent and not perform ADL to find std::meta::extent, even if ADL was performed here.

Within library wording we don't do ADL, only unqualified lookup (as per
[contents] p3). This means that all the metafunctions in namespace std
need to qualify names from namespace std::meta in order to find them.

This also fixes the bug that name lookup in the Effects: of
define_static_array would find std::extent and not perform ADL to find
std::meta::extent, even if ADL was performed here.
@tkoeppe tkoeppe merged commit bf6acb1 into cplusplus:main Oct 31, 2025
2 checks passed
@jwakely jwakely deleted the meta-no-adl branch October 31, 2025 12:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants